/**
 * 
 */
package org.vsg.stock.core.persistence;

import java.util.Collection;
import java.util.List;

import org.springframework.dao.DataAccessException;
import org.vsg.common.orm.hibernate.GenericDao;
import org.vsg.stock.core.domain.ExRights;

/**
 * @author Bill Vison
 *
 */
public interface ExRightsDao {

	/**
	 * 
	 * @param entities
	 * @throws DataAccessException
	 */
	public void saveAll(Collection<ExRights>  domains) throws DataAccessException;
	
	/**
	 * 
	 * @return
	 * @throws DataAccessException
	 */
	public List<ExRights> findAll() throws DataAccessException;
	
	/**
	 * 
	 * @return
	 * @throws DataAccessException
	 */
	public List<String> findExtRightKey() throws DataAccessException;
	
}
